home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / More Source / C⁄C++ / 3D Buttons CDEF 1.0b6 / Source / 3D Buttons CDEF source / (3D CDEF++.68k.π) / StSaveClip.h < prev    next >
Text File  |  1994-12-28  |  357b  |  30 lines

  1. /*
  2.     Public domain by Zig Zichterman.
  3. */
  4. /*
  5.     StSaveClip
  6.     
  7.     A class that saves the clip region on construction and restores
  8.     it on destruction
  9.     
  10.     12/27/94    zz    h    initial write
  11. */
  12. #pragma once
  13.  
  14. #include "RgnHandleT.h"
  15.  
  16. class StSaveClip
  17. {
  18.     public :
  19.         StSaveClip(void);
  20.         
  21.         ~StSaveClip();
  22.     
  23.         void
  24.         Save(void);
  25.         
  26.         void
  27.         Restore(void);
  28.  
  29.         RgnHandleT    mRgn;        
  30. };